ba780238949670535c767a863321955092579695,app/src/main/java/knf/animeflv/Alarm.java,Alarm,onReceive,#Context#Intent#,14
Before Change
if (not) {
Log.d("Service", "Servicio Iniciado");
new RequestsBackground(context, TaskType.NOT).execute(url);
new RequestsBackground(context,TaskType.VERSION).execute("https://raw.githubusercontent.com/jordyamc/Animeflv/master/app/version.html");
}else {Log.d("Service", "Servicio Desactivado");}
wl.release();
}
After Change
Executor threadPoolExecutor = new ThreadPoolExecutor(corePoolSize, maximumPoolSize, keepAliveTime, TimeUnit.SECONDS, workQueue);
Log.d("Service", "Servicio Iniciado");
new RequestsBackground(context, TaskType.NOT).executeOnExecutor(threadPoolExecutor);
new RequestsBackground(context,TaskType.VERSION).executeOnExecutor(threadPoolExecutor);
}else {Log.d("Service", "Servicio Desactivado");}
wl.release();
}